def end_time(time):
    return "//div[@class='x-date-packer-panel date-end']//label[@data-mouseover='%s']" % time
print(end_time("2024-3-7"))

from ui_auto.data.page_elem import Analysysdata_elem
a=Analysysdata_elem.end_time('2024')
print(a)
